/* pages/home-school-group/home-school-group.wxss */
.group-wrapper {
  height: 100vh;
  width: 100vw;
  background-color: #efefef;

  .head-box {
    height: 315rpx;
    width: 100vw;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;

    .avatar-box {
      display: flex;
      flex-direction: column;
      align-items: center;
      font-size: 22rpx;

      image {
        width: 140rpx;
        height: 140rpx;
        background-color: red;
        border-radius: 50%;
        margin-bottom: 20rpx;
      }
    }

    .detail-box {
      margin-left: 60rpx;
      margin-right: 180rpx;
      box-sizing: border-box;

      .name {
        margin-top: 28rpx;
        margin-bottom: 9rpx;
        font-weight: 500;
      }

      .label {
        font-size: 20rpx;
        color: #a2a2a2;
        margin-top: 5rpx;
      }

      .content {
        margin-top: -2rpx;
        font-size: 20rpx;
        color: #4c7ca8;
      }
    }
  }

  .operate-box {
    width: 100vw;
    height: 142rpx;
    display: flex;
    align-items: center;
    justify-content: space-around;

    .operate {
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
      height: 78rpx;
      width: 42vw;
      font-size: 30rpx;
      color: #f9ffff;
      background-color: #5a84ba;
      border-radius: 50rpx;

      image {
        position: absolute;
        right: 50rpx;
        width: 40rpx;
        height: 40rpx;
      }
    }
  }

  .input-box {
    display: flex;
    justify-content: center;
    position: relative;

    .placeholder-box {
      position: absolute;
      top: 0;
      bottom: 0;
      left: 0;
      right: 0;
      margin: auto auto;
      display: flex;
      align-items: center;
      justify-content: center;

      image {
        width: 38rpx;
        height: 38rpx;
      }

      view {
        margin-left: 16rpx;
        color: #b7b7b7;
        font-size: 32rpx;
      }
    }

    input {
      height: 68rpx;
      width: 96vw;
      background-color: #ffffff;
      border-radius: 10rpx;
      text-align: center;
    }
  }

  .list-box {
    margin-top: 20rpx;
    width: 100vw;
    height: 740rpx;
    background-color: #ffffff;
    overflow: hidden;

    .index-item {
      margin-top: 48rpx;
      padding-left: 4vw;
      font-size: 30rpx;
      color: #949494;
      font-weight: 700;
      padding-bottom: 3rpx;
      border-bottom: 1rpx solid #e5e5e5;
    }

    .group-item {
      padding-left: 4vw;
      height: 83rpx;
      display: flex;
      align-items: center;
      font-size: 32rpx;
      border-bottom: 1rpx solid #e5e5e5;
      position: relative;

      .homework {
        width: 18rpx;
        height: 18rpx;
        background-color: #5997f6;
        border-radius: 50%;
        position: absolute;
        top: 16rpx;
        left: 16rpx;
      }

      .homework-done {
        @extend .homework;
        background-color: #5997f6;
      }

      .homework-fail {
        @extend .homework;
        background-color: #e83323;
      }
    }
  }
}